<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ui_Form.aspx.cs" Inherits="extensions_exampleworkflow_manage_ui_Form" %>
<%@ Register TagPrefix="flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
<head runat="server">
	<link href="../../../admin/Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
</head>
<body class="nopad">
<form id="form1" runat="server">
<flux:HostTable runat="server">

<flux:ValidationSummarySection runat="server" HeaderText="Please correct the following errors"/>
<flux:Section runat="server" Title="Add/Edit Telephone Book Entry">
<flux:ShadePadBox runat="server">
	<table cellspacing="0" cellpadding="5" border="0" width="500">
	<tr><td nowrap="nowrap">Name: <%=Required%></td>
		<td><asp:TextBox Runat="server" ID="fName" Width="200px" style="width:200px" MaxLength="500"/></td>
	</tr>
	<tr><td nowrap="nowrap">Tel: <%=Required%></td>
		<td><asp:TextBox Runat="server" ID="fTel" Width="150px" style="width:150px" MaxLength="50"/></td>
	</tr>
	<tr><td nowrap="nowrap" valign="top">Notes:</td>
		<td valign="top"><asp:TextBox runat="server" ID="fNotes" Width="200px" Height="100px" style="width:200px;height:100px;" TextMode="MultiLine"/></td>
		</tr>
		
	<tr><td nowrap="nowrap" valign="top">History:</td>
		<td valign="top"><asp:Literal ID="fHistory" runat="server"/></td>
		</tr>
		
	</table>
</flux:ShadePadBox>
</flux:Section>

<flux:Section runat="server">
<flux:PadBox CssClass="Pad5Button" runat="server">
	<asp:DropDownList runat="server" ID="ddlWorkflows"/>
	<asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click"/>&nbsp;&nbsp;&nbsp;
	<asp:Button runat="server" ID="btnCancel" Text="Cancel" OnClick="btnCancel_Click" CausesValidation="False"/>
</flux:PadBox>
</flux:Section>

<!-- Validators -->
<asp:RequiredFieldValidator Runat="server" ControlToValidate="fName" ErrorMessage="You must specify the name of this person" Display="None"/>
<asp:RequiredFieldValidator Runat="server" ControlToValidate="fTel"  ErrorMessage="You must specify the telephone number of this person" Display="None"/>

</flux:HostTable>
</form>
</body>
</html>
